package edu.zjut.hjg.saas.biz.model;

import edu.zjut.hjg.saas.biz.support.ChargeType;

public class PriceType {
    private Integer    id;
    private Double     price;
    private String     unit;
    private ChargeType chargeType;
    private String     description;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public ChargeType getChargeType() {
        return chargeType;
    }

    public void setChargeType(ChargeType chargeType) {
        this.chargeType = chargeType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "PriceType [chargeType=" + chargeType + ", description=" + description + ", id="
                + id + ", price=" + price + ", unit=" + unit + "]";
    }
}
